package com.example.communist_app_api.db.dao;

import com.example.communist_app_api.db.pojoDto.UserCommentLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserCommentLikeDao {

    List<UserCommentLike> getUserCommentLike(Integer userId);

    int insertUserCommentLike(@Param("userId")Integer userId,@Param("id")Integer id);

    int deleteUserCommentLike(@Param("userId")Integer userId,@Param("id")Integer id);

    Boolean judgmentLike(Integer userId,Integer id);

    int getLikeNum(Integer id);

}
